
function Widget() {
}

function addWidget(url, node) {
	$.ajax({
		url: url,
		success: function(obj) {
			var grid;
			var data = obj.widgets[0].data;
			var columns = data.columns;
			var options = data.options
			grid = new Slick.Grid($('#cargo'), data.data, columns);
		}
	});
}